﻿Imports BusinessRule.DTO
Imports System.Data.OracleClient

Public Interface uLMSProblemIBusiness

    Function GetEmployee(ByVal para As Dictionary(Of String, String)) As DataTable
    Function GetResource() As DataTable
    Function GetRole(ByVal name As String) As DataTable
    Function GetWorkCenter(ByVal factoryid As String) As DataTable
    Function SaveProblemInfo(ByVal name As Dictionary(Of String, String), ByRef strMessage As String) As Boolean
    Function GetMfgProblemList(ByVal para As Dictionary(Of String, String)) As uMESProcessResult
    Function GetContainerInfo(ByVal strContainerName As String) As uMESProcessResult
    Function SavePrepareInfo(ByVal para As Dictionary(Of String, String), ByRef strMessage As String) As Boolean
    Function GetPrepareList(ByVal para As Dictionary(Of String, String)) As uMESProcessResult
    Function GetToolInfo(ByVal para As Dictionary(Of String, String)) As uMESProcessResult
    Function FinishPrepareInfo(ByVal para As Dictionary(Of String, String), ByRef strMessage As String) As Boolean
    Function GetFactory() As DataTable
    ''' <summary>
    ''' 获取问题上报类型名
    ''' add:Wangjh 20181119
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetUfcProbleType() As DataTable
    ''' <summary>
    ''' 获取问题上报类型
    ''' add:Wangjh 20181119
    ''' </summary>
    ''' <param name="name"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetUfcProbleTypeList(ByVal name As String) As DataTable
    ''' <summary>
    ''' 获取人员信息
    ''' add:Wangjh 20180118
    ''' </summary>
    ''' <param name="employeeName"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetEmployeeInfoByName(ByVal employeeName As String) As DataTable

    ''' <summary>
    ''' 插入转发信息
    ''' add:Wangjh 20180119
    ''' </summary>
    ''' <param name="Para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function InsertRelayProblem(ByVal Para As Dictionary(Of String, String)) As Boolean

    ''' <summary>
    ''' 获取转发信息
    ''' add：Wangjh 20180119
    ''' </summary>
    ''' <param name="Para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetRelayProblemInfo(ByVal Para As Dictionary(Of String, String)) As DataTable

    ''' <summary>
    ''' 获取审核日志信息
    ''' add:Wangjh 20180126
    ''' </summary>
    ''' <param name="problemID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetProblemResultRecord(ByVal problemID As String) As OracleDataReader

    ''' <summary>
    ''' 获取问题反馈 add:YangJiang 20180416
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetProblemInfo(ByVal para As Dictionary(Of String, String)) As uMESProcessResult

    ''' <summary>
    ''' 获取零件进度表的批次工序问题上报信息 create by tianFW 2018年12月19日
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetProblemInfo_ProgressOfProduct(ByVal para As Dictionary(Of String, String)) As DataTable
End Interface
